﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Wanjia
    {
        private string name;

        public string Name { get => name; set => name = value; }
        public void Mingzi()
        {
            Console.WriteLine("请输入你的名字");
            name = Console.ReadLine();
        }
    }
}
